package cn.zhf.shop.mapper;
import org.apache.ibatis.annotations.Param;

import cn.zhf.shop.entity.AgentApplication;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AgentApplicationMapper {
    int deleteByPrimaryKey(Integer agentApplicationId);

    int insert(AgentApplication record);

    int insertSelective(AgentApplication record);

    AgentApplication selectByPrimaryKey(Integer agentApplicationId);

    int updateByPrimaryKeySelective(AgentApplication record);

    int updateByPrimaryKey(AgentApplication record);

    List<AgentApplication> selectAll();

    int updateAgentApplicationStatusByAgentApplicationId(@Param("updatedAgentApplicationStatus")Integer updatedAgentApplicationStatus,@Param("agentApplicationId")Integer agentApplicationId);

    List<AgentApplication> selectByAgentApplicationUserId(@Param("agentApplicationUserId")Integer agentApplicationUserId);


}